package com.qys.livesMall.navy.task;

import com.qys.livesMall.navy.service.NavyShopAutoOrderServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @menu AutoOrderInitTask
 * @date 2023/09/16 16:21
 */
@Slf4j
@Component("AutoOrderInitTask")
public class AutoOrderInitTask {

    @Autowired
    private NavyShopAutoOrderServer navyShopAutoOrderServer;

    public void exc(){
        log.info("自动打单初始化....");
        navyShopAutoOrderServer.init();
        log.info("自动打单初始化结束！");

    }
}

